Fixed ConnectException not thrown