change tsh in order that it can kill the subprocee whenever possilbe

1. add get subprocee id;
2. add signal to kill the subprocee