Fix execution of killing process