Run a libusb_handle_events task when a device is open.