gitbrute: use a done channel to kill off remaining goroutines