I have a machine in which this message sometimes appears on shutdown. Do you have the option to "End program now"? I normally find this is successful and shutdown then proceeds normally.
Happens about once a week but not regularly. I'm not going to do anything about it as it's such a minor thing that doesn't seem to affect anything else - but trying to cure it may well upset the whole system.