add a little codes to solve SocketConnectionTimeout exception