Wait for MongoDB port to open instead of fixed 30 secs