kill worker by deamon, because runtime.exec() is too heavy

fix several bugs