Fixed memory leaks in loadbalancers