Merge pull request #207 from apache/bug/pool-connect

Fix for connection pool, unable to reconnect after failed connection.