Maybe move the shutdown logic to `EMUDPProxy.stop`?