Improved peering behavior to avoid infinite loops