I had the same issue with a midi keyboard. Out of nowhere it would just stop working and I had to reconnect it .
Most of the usb cables I had laying around came for free with something or other and it seems like they don't age well or something.
Anyway, I started using some UGREEN cables from Amazon and so far so good (6 months I think). Pretty cheap so you might give em a try.
I have a feeling it might be related to the female connector on my Novation since I don't have that problem with any of my other 8 usb devices I use all the time.
https://smile.amazon.com/gp/product/B00P0FO1P0/ref=oh_aui_search_detailpage?ie=UTF8&th=1