Add connection timeout to the SocketConnector.