Kill correct processes.