count down latch in catch statement