Have Hub automatically reboot when no Internet connection

I have a Hub2 that is in a relatively inaccessible location. It loses its cloud connectivity periodically even when the network is fully operational. I noticed that the hub and server ping each other to verify their connection. Is there a way to force an automatic reboot periodically when the connection is lost? If not, do people think that ST should do this the hub’s firmware