GPU time - how to

I need to tell the Nvidia GPU to wait even 1 minute if necessary before shutting down or sending out an error that the GPU is stuck or not doing anything anymore.
I know there was once somewhere a similar setting for Substance.

Does anyone know how to do that with the Unreal GPU engine, especially when using 100% Raytracing.

Thanks a lot!