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

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.