fixing out of order bootstrapping issue - jobs were being scheduled even before scheduler was ready