ADD: wait loop for web server start

Try and deal with a service restart, if that occurs before the web
server thread has fully shutdown.  This has occured before during addon
update.