properly disconnecting from endpoints in balancer