[process] fixed: make sure process is terminated with core if kill >= 0