edge case in CountDownLatch