modify deleteAllLoadBalancers method by improving redundant internal codes.