Gateway, deregister RPCs
Modules should de-register their RPCs from the gateway upon shutdown. Right now you could do that by overwriting an RPC with an empty function, but only during testing.
this is part of clean shutdown, and absolutely required if we want to do things like in-place module rebooting (which is something that makes testing a lot easier)