well) i just find a decision) it s not beautiful but hope it works) i just made one bat file to start miner and another one that counting down 15 minutes (for example) and killing miner process in task manager/waiting for couple seconds and starts first bat again in new cli window) and starts counting again. this rough thing hope will help from hanging and other problems)
Do you mind sharing the codes here?