Kill processes by their name. used for debug the java gui programs that should open a lot of windows