Timing Your Decision to Franchise