PERL-264 test for closing connection when MongoClient object leaves scope.