I use the Hub Rebooter to reboot my C4 weekly whether it needs it or not. Many folks here also use the Hub Info driver with an RM rule monitoring "Free Memory", that reboots when the level goes below a specified threshold. Both apps may be installed using the Hubitat Package Manager (HPM)
Also my C4 is on a UPS with controlled shutdown when the UPS' power gets low.