deleting useless goroutine