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