isn't it better to keep a boolean instead of a CountDownLatch?