That happened to me with my brand new cable with USB C and USB A split on the same end of the cable.Just installed it! Man it kept loosing USB connection and halting the process during the firmware download to device. Scary!
Back to my old cable USB B to USB A with adapter from USB C, and the interruptions completely stopped.
What USB cable are you using?