if (unicastDelayRange <= 0) {
new UnicastDiscoveryTask(pending).run();
} else {
final UnicastDiscoveryTask ud =
new UnicastDiscoveryTask(pending, true);
final Ticket t = discoveryWakeupMgr.schedule(
System.currentTimeMillis() +
(long) (Math.random() * unicastDelayRange),
new Runnable() {
public void run() {
taskManager.add(ud);