Looks like you were implemeting a WaitGroup anwyay...