fix(connection): make pool not try to reconnect forever when reconnectTries = 0 (#275)
fix(connection): make pool not try to reconnect forever when reconnectTries = 0 (#275)

* fix(connection): make pool not try to reconnect forever when reconnectTries = 0

* test(server): add test coverage for #275

Re: Automattic/mongoose#6028

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