Fixed potential infinite loop while starting / stopping the service

As discussed on the mailing list (see #1) I've repaced the while-loops whith a call to WaitForStatus-Method with a timeout of 10 seconds.


[#1]
https://groups.google.com/d/topic/topshelf-discuss/1wvlWmDKcTw/discussion