fix(server): ensure state is transitioned to closed on connect fail
fix(server): ensure state is transitioned to closed on connect fail

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