Fixed issues with deadlocks by creating and deleting a new libusb context for each control transfer. All tests pass.