Fix pool.releaseConnection to keep connection queue flowing

fixes #797