title: Windows Azure - need to stop a WorkerRole from within
body: <p>I previousely worked on some Windows Services that can stop automatically when encountering critical errors.</p>
  
  <p>Migrating those to Windows Azure, in WorkerRole, I'd like to do the same : being able <strong>to stop the WorkerRole</strong> execution from within.</p>
  
  <p>I just encounter a little problem...</p>
  
  <p>When the <strong><em>Run</em></strong> method ends,
  the WorkerRole <strong><em>OnStop</em></strong> method is triggered,
  then it's restarted...
  From what I've read, it's a normal behavior for a WorkerRole.</p>
  
  <p>Then my question is : how to tell it '<em>job complete, do not restart please</em>'</p>