I don't understand how this issue is even occuring in the first place? Slow cpu / too much too process, bad usb driver, bios or chipset software or heat can all cause this.
-check if the system has different kind of USB ports (USB1.0, USB2.0, USB3.0 or USB3.2) and try the fastest available
Having bad system files can result in these problems so its a possible solution in some cases. Especially the drive defragmentation can help. Also try
reset the system BIOS
use the SFC command utility to fix system files on Windows 10
windows cleanboot
driver cleaner procedure
also update the motherboard BIOS and chipset driver and defragment again if i haven't suggested that before. and repair / defragment windows registry