Synchronization aid to allow threads to wait for operations in other threads
https://github.com/benlangfeld/countdownlatch