change ts_client behave to terminate self when test case all done
Merge branch 'develop'