364d2358d8
without this lock there is a race condition between the scheduler and job processing.
without this lock there is a race condition between the scheduler and job processing.