Hey, Guys
I use processBuilder for that. It has method destroy(). You could check my example in the thread: