On KDE systems, this command seems to work well:
systemctl stop kdm
When I use
systemctl isolate multi-user.target
sometimes it closes eth0 and networking is killed. Of course this is a big problem in a ssh remote connection. I am trying to learn exactly what the repeatable scenario is -- I have experienced this on multiple KDE systems, but it is a little bit subtle to repeat.