use RPC instead of stream for life and attack