You didn't say whether it hangs on shutdown or restarts instead of shutting down. In any event this may help click here
If it is the "restarting" problem, a workaround is to log off, then shut down.
Samsung Galaxy S8 review
1995-2015: How technology has changed the world in 20 years
What’s happening in VR right now: From psychedelic art to combat therapy
Siri not working? Try these troubleshooting fixes
Synology invites you to visit them at Insomnia on 26th – 29th August. Book your tickets now and visit Synology.