When you are getting message such as:
“A stop job is running for Session”
“A stop job is running for User manager for UID”
I found that a quick workaround would be to logout the user first and then shutting down or in terminal enter:
sudo shutdown now