Fix red screen of death for OATH code dialog when device removed.
Fix red screen of death for OATH code dialog when device removed.

Yubico/yubioath-desktop,Yubico/yubioath-desktop,Yubico/yubioath-desktop,Yubico/yubioath-desktop,Yubico/yubioath-desktop