MongoDBDatastoreProvider class can be enhanced to lazy start so that any dependent application (e.g. war, SpringBoot, etc…) could properly start without requiring a database connection. This would be helpful for example in a microservice architecture where the services (including mongodb) could start in an undefined random order or to deploy and test some scenarios not requiring the mongodb service.