On one my rig - I every 2-5 hours get error "out of memory" on x17.
ccminer - not exit and it show some (I think small) hashrate. (actually it not mine.)
So I 600 sec not mine. Only if x17 algoritm will became not profittable - MM will close this process.
But if x17 still the best - then we will wait more 600 sec..
I have only one sollution - my software watchdog is monitoring Temperature of GPU.
If Temperature go < 20 degreez - it reboot the computer.