net: reset `errorEmitted` on reconnect