I found the solution in “Red Hat Bugzilla – Bug 1708333” (google for details):
sudo nano /etc/systemd/logind.conf
Ctrl+W KillUserProcess
delete the leading # from the line that says:
#KillUserProcess=no.
and edit it so that it shows:
KillUserProcess=yes.
instead.
To take effect the changes reboot your system.