Ensured that the USB connection is restarted correctly on restart.