Make thread aquire usb interface instead of loop