Logitech G27 suddenly stops working mid race.

As the title says I have a Logitech G27 (which was working fine before) It appears to work fine for any other game but when I load forza 7 it works in menus and even at the beginning of a race…but in the middle of a race after a few seconds or minutes it stops working the FFB stops and no buttons work. It does not notify me of a disconnected controller, it still shows up in device manager as well. It seems to work fine if i unplug and replug it in even without closing out of the game. It will start working again but then stop after anywhere from 30 seconds to 2 minutes. I have tried plugging it into rear usb ports and Ive tried all of my other ports. That seems to have no effect.