Add retries making initial connection to MongoDB if there's a network failure or mongo is down