Wait for Mongo server to come up