There's a case when marking a job as errored that the job queue fails for some reason. This needs to be handled more gracefully.