When attempting to requeue a job distinguish the case in which the
job is JOB_COMPLETING or already pending.