delay thread rerun if there is a failure to execute