Fix service cannot check and terminate existing proccess
Signed-off-by: mzcwlong <mzcwlong@vip.qq.com>