[ci skip], add close app in autotest.py
Merge pull request #6271 from shujunqiao/autotest-close

[ci skip], add close app in autotest.py