Usb B connection help

Had similar problems with random disconnects during a carve, tried every suggestion and still had problems. Found that replacing the USB socket panel connector with my own seemed to fix it for good. I had a 8" mini usb to full size and swapped it out. Doesn’t stick out so far and it works,so I’m good with that…