Using a CountDownLatch instead of awaitility.