Bugfix: CountDownLatch has to be reset eacht time it has expired