modify countdownlatch