Set a time limit for running the engine

Hi! Thanks for the ideas, quite insightful!
I was hoping there is some similar functionality already available in the engine itself, but since it’s not I ended up using Jnekins’s timeout and Windows’s taskkill /f /im on triggered timeout