Use new method Nodes.getPeerToConnect

Clean imports