Wait smarter for an empty connection pool.
Merge pull request #62 from habnabit/master

Wait smarter for an empty connection pool