Simple multithreaded Java app to pick up machine's IP address from four servers