More robust handling of update_task failing