shadow: reset encoder on reconnection