Increased retry attempts for MongoDB connection