Avoid race condition if Job is cancelled from Job Controller Thread (current version don't do it).