Graceful Shutdown Sequence:
Stop all measurement threads first
Wait for them to complete
Then cleanup the USB session
Error Handling:
Add more specific exception handling for USB operations
Consider adding retries for non-critical operations
Logging:
Replace print statements with proper logging
Consider logging to a file for debugging purposes