fuwaneko/jugglingdb-rethink — pull request #3 by floridoo (2013-05-29 17:20:17+00:00)
Title: Drain the pool on disconnect

If the pool is not emptied on disconnect, node will never exit if min > 0

See: https://github.com/coopernurse/node-pool#step-3---drain-pool-during-shutdown-optional