@jarekps 
I had the same problem here as in the previous question - this question was more general. I agree that there are a lot of cases when we need to be sure that the process exited. But I still think that in the `kill` method in the code above we don't need to wait for the process to end. OK, supporting additional parameter may be a good idea. I will prepare a commit for this. Thanks.