Added wait/retry when connecting to MongoDB seems necessary for boot order when using MongoDB