Merge pull request #34 from wendong112/cts-master

use restart_client() to replace restart code in checkResult