New locks

I'm never waiting for this future to complete, but I'm not sure how to work it out - maybe add some completer to MongoDatabase and wait for it in close() ?