JDBC - Open socket caused client thread to hang after JDBC connection failed
The client thread was hanging because a socket was left open after a JDBC connection failed. The logic has been changed to ensure that the socket is closed after a failed connection.