use breakEnd for ipv6 compatibility.