Attempt to make builds more reliable by waiting for mongo to start