Close after the goroutine