synchronously clean up pthread_create failure due to scheduling errors