Fix for race condition during scheduler registration when there are multiple builds on queue

Fix for race condition during scheduler registration(on demand) when there are multiple builds on queue
How about

"This is to ensure that isRunning() returns true even when the driver is not yet inside run(). This is important because MesosCloud.provision() starts a new framework whenever isRunning() is false."