Fix Linux program hang due to locating USB drives