Added timeout to USB device discovery