Fix the bug of can't auto stop process of node.

Signed-off-by: Yin MingJun <yinmingjuncn@gmail.com>