In USBHAL::usbisr(void) checks if connection has been changed (i.e. the cable is connected or disconnected). As we cannot know which one the case is, we always do reset.
This works around the case that the cable is disconnected but we still try to write to the port and hang there.