Knowing when to give up