discoverer: using scheduledexecutor instead of infinite loop & playing directly on localhost if no peer is online (instead of showing dialog)