Knowing when to quit