use variables for timeouts and sleeps
catch usb exceptions