removing duplicate HostAndPort