executor: tiny refactor, add sleep and cleanup for test case (#13991)
executor: tiny refactor, add sleep and cleanup for test case (#13991)


kyle-wang/tidb,ngaut/tidb,pingcap/tidb,coocood/tidb,ming-relax/tidb,ming-relax/tidb,kyle-wang/tidb,EvilMcJerkface/tidb,pingcap/tidb,coocood/tidb,ngaut/tidb,kyle-wang/tidb,pingcap/tidb,c4pt0r/tidb,c4pt0r/tidb,XuHuaiyu/tidb,EvilMcJerkface/tidb,ngaut/tidb,pingcap/tidb,pingcap/tidb,Cofyc/tidb,ngaut/tidb,kyle-wang/tidb,c4pt0r/tidb,XuHuaiyu/tidb,c4pt0r/tidb,c4pt0r/tidb,Cofyc/tidb,ngaut/tidb,kyle-wang/tidb,c4pt0r/tidb,pingcap/tidb,kyle-wang/tidb,ngaut/tidb