Created KILL_PID function for code I was reusing