Concurrency helpers for dealing with arbitrary numbers of channels and goroutines