rpc_client_stop() : Avoid waiting infinitely for rpc client thread if connection failure occurs while in  "synchronous receive" mode.