Join event handling thread to make sure libusb is not exited before
the eent handling thread has exited