public void destroy() {
        synchronized (monitor) {
            while (!queue.isEmpty()) {
                queue.poll().node.discard();
            }
            destroyed = true;
        }
    }
Discards all the routing nodes currently scheduled for resending.
messagebus/src/main/java/com/yahoo/messagebus/routing/Resender.java