Make the USB polling thread poll every second to potentially aid longer timeout transfers.
Prevent further USB transfers from occurring once the shutdown signal has been sent to prevent transfers getting stuck and libusb failing to shut down.
Merge branch 'master' into libusbx