Update HadExceptions if socket not connected

When ConnectTimeout != 0, it does not throw the exception, and
HadExceptions it is not updated. Due to that, the connection is not
disposed and the pool can not recover after a server crash
Merge pull request #184 from joplaal/master

Update HadExceptions if socket not connected