When a device registers we need to unlink them (if linked) from the peers_by_ip conta...