Fix segfault on session change
Kate segfaults sometimes if you switch sessions because these processes were still running. So, ensure they are killed when we are destructing.
Kate segfaults sometimes if you switch sessions because these processes were still running. So, ensure they are killed when we are destructing.