added locking for rufus scheduler too. Did not deal with possible clock difference issue as our servers will be in sync.  There is a possible race condition, but with only 4 scheduler workers, it is unlikely. To be dealt with in the future