Simple load balancer in Java