The unexpected upsides of getting fired over and over again