attempting to fix slow sockets with CountDownLatch