cleanup of MongoConnectionHandler