Update index.js

Added endConnection() which clears the internal keepalive setInterval and ends the connection or pool.

Can be called to cleanly shut down the manager as part of an express shutdown.
Merge pull request #3 from ravenscar/master

Add endConnection() method to facilitate a clean express shutdown.