Improved handling of hard disconnects from USB devices