mark failed job as done