use rpc to local client if available