Killing a process synchronously

Well, then it seems to be a good way to implement what I want :slight_smile: