java concurrency - basics of countdownlatch