Addition of fix for preventing jobs to be run at the same time.