fixed ECONNRESET error

fixed ECONNRESET error