Quitting after 10 consecutive errors