Fix for mongo taking a few seconds to start up properly