handleing errors when connecting to UPDClient