I had this same problem and I decreased my OC until this stoppped happening. noticed my SOL/s stayed about the same also as i decreased.
Yes, it's because of the OC, but the idea in message, the miner himself could restart, and not do it manually.
If the restart can be done by closing / execute the program, then this can be implemented inside the program itself.