get refreshing & closing with jmdns to function (uses 3rd thread for shutdown)