Shutdown process stuck at "a stop job is running for session 2 of user $USERNAME" when multiple users were logged-in during an uptime

I have had the problems for several months as well.

@dobedobedo Thanks for your links, the work around with the systemd service works well. Kwin_x11 not stopping during shutdown - #2 by acarasimon96