Check for the async variants of the libusb errors and retry up to retry max when trying to clear a pipe error/stall.
Check for either async or sync libusb error message for timeout.