I mean not system stuck or freeze...i mean some problem with miner or gpu....when appears a lot of repeatedly read rows about GPU stop responses.
In that case you can check enough old BTT thread about Genoil ZEC miner (It's quite unstable software). Here you can find examples of scripts restarting the miner depending on command line output.
But I think EWBF's miner is one of the stablest mining software (Works fine for weeks or even months). So it's recommended to also check the hardware (OC settings, riser plugs etc.)