cleaning rpc demo