add percol_kill_process function