Avoid connecting to another node twice, and check name of outgoing connections.