Added support for non-blocking async transfers, calling libusb_handle_events to check if transfer is completed