refactor(server): do not permit commands when server is closed
refactor(server): do not permit commands when server is closed

mongodb/node-mongodb-native,mongodb/node-mongodb-native,mongodb/node-mongodb-native,mongodb/node-mongodb-native