countdown latch to wait all thread accomplish