(win32) Fix crash when dongle is plugged in