Don't run RPC in event handler.

RPC in event handler breaks output of the event handler itself.