Connection closed after MongoDBConfigurationTest