Add error handler for ECONNRESET