* *: fix data race when defer cancel() is called defer cancel() was introduced in this PR https://github.com/pingcap/tidb/pull/3010
* *: fix data race when defer cancel() is called defer cancel() was introduced in this PR https://github.com/pingcap/tidb/pull/3010