All the sleep methods will sleep for a minimum on 1 ms. You can use yield() which is shorter but usually doesn't give up the CPU.
If you are busy waiting on a group of sockets, you will end up using a whole cpu or you will having milli-second latencies.
A better solution many be to use a Selector to wait until a Socket is ready to use or blocking NIO with a thread per connection.