How the best teams deal with failure