minor refactoring (don't put an RPC method in a Runnable)