implemented usb retry mechanism, should deal with situations where yubikey is unplugged and then plugged back again.