Implementing process tree kill for Unix-like platfomrs