If I had some signal that indicated "sufficient information uploaded, algorithm running" it'd be easy to stop. But the (obvious) problem is that signal is, usually, the discovery of the solution. Which happens well after all the being stuck.
There is something comforting about accepting that banging my head against a wall might just be a requirement of figuring the thing out, though.