Using CountDownLatch