Ensure all callers to the rpc_client/cli_pipe functions correctly