finish the comet RPC