phatboyg/Topshelf — pull request #20 by chrkru (2013-02-27 12:34:23+00:00)
Title: Removed potential infinite loop in start and stop of the service

As discussed here:
https://groups.google.com/d/topic/topshelf-discuss/1wvlWmDKcTw/discussion

I've replaced the while loops with a call to WaitForStatus with a TimeSpan of 10 seconds maximum

Kind Regards
Christian