Made the service browser failure tolerant

Added error handling (auto restarting) as well as periodical restarting
(to prevent stalls)