title: Stop/Start Service - Handling STOP_PENDING and START_PENDING
body: <p>How do you make your stop/start service scripts gracefully handling the services that get stuck in STOP_PENDING or START_PENDING...</p>
  
  <p>Related with SC STOP and START. <a href="https://stackoverflow.com/questions/133883/stop-and-start-a-service-via-batch-or-cmd-file">Stop and Start a service via batch or cmd file?</a></p>
  
  <p>I have one aproach in mind, but I don't like it.</p>