On some devices this can take some time (i.e. a second) and the UI needs to be disabled for that time. This should stop users quickly stopping and starting regularly, queuing up many "start jmdns, stop jmdns, start jmdns" calls.