goroutine lifecycle management