Error handling in goroutines with errgroup