Treat Errno::ECONNRESET as the connection ending