When is Quitting the Best Option?