Fix an issue where a well timed cancel could try to cancel a job right after it has finished causing an error.
Fix an issue where a well timed cancel could try to cancel a job right
after it has finished causing an error.

wwitzel3/awx,wwitzel3/awx,wwitzel3/awx,snahelou/awx,snahelou/awx,wwitzel3/awx,snahelou/awx,snahelou/awx