@laanwj: my latest patch moves it into refreshPeers()