drain the pool on disconnect

without this, node will never exit if min > 0
Merge pull request #3 from floridoo/drain_pool

Drain the pool on disconnect