fixed retry_job, finished_job and list_jobs