Can you get a fan to cool the router to see if it works?

If not then it may not be heat problem. It maybe the tethering driver. You can write a script to detect Internet. If no Internet then reset the USB connection using gpio