fix UIPClient.connected()