Fixes issue that was causing MongoDBServer to restart after being stoppe...

...d