TK-01054 Fix RPC error

RPC was attempted when the client was apparently not connected
(connection is async I guess)