title: Detect when an Application stops Responding, Kill it and Restart it
body: <p>I am developing a high performance App that is causing the main process to seemingly stop responding and crash - from time to time -  due to overload (I get the Close Application Dialog so the App never exits <em>per se</em>, just freezes, which is annoying)</p>
  
  <p>I welcome any clean way to pro grammatically detect when the App is frozen, so I can use a BAT (or else) to automatically Kill the process and Restart.</p>
  
  <p>Of course, this is a temporary fix while auditing the App, but it comes very handy in the meanwhile.</p>
  
  <p><strong>TieBreaker :</strong> BTW, Is there a way to override windows' Exception Screen and just quit the App ???
  This is mostly annoying feature most of the time.</p>
  
  <p><strong>EDIT :</strong><br>
  FOR GOD'S SAKE : the app <strong>IS</strong> freaking freezing, <strong>THOUGH</strong> every single task run in BG Workers and threads !!! And I specified that in comments. Come'on, I am not that dumb. Just that your app runs BG workers does not imply it never freezes ! And As I said, please JUST answer my question, I am not looking for lessons on how to design my App, that I am already working on and I know what has to be done. As specified MANY times, I just need a fix on the server in the meantime.
  Thank you.</p>