Improved the discover service sample to not run on the main thread.
Improved the discover service sample to not run on the main thread.

maggu2810/jmdns,EmuxEvans/jmdns,openhab/jmdns,jmdns/jmdns,eastuni/jmdns,littlefreaky/jmdns,martenbr/jmdns,jkiddo/jmdns,jkiddo/jmdns,eastuni/jmdns,farukcank/jmdns,jmdns/jmdns,maggu2810/jmdns,openhab/jmdns,littlefreaky/jmdns,EmuxEvans/jmdns,martenbr/jmdns