Adding isClosed RPCClient method.