kill_pid function

kill (i.e.: stop) running processes by there pid