Added functionality to enable TaskFarmer to retry failed jobs.