fix when SocketTimeoutException cause socket close