Use a condition & refcount to protect context against early closing.
Use a condition & refcount to protect context against early closing.

Fixes stalls when USBContext's blocking methods are used in a multithreaded
application.

vpelletier/python-libusb1,vpelletier/python-libusb1