When trying to shut-down windows while CalcSync.exe is minimized as tray icon, the system shut-down will be inhibited.
You can find a solution for this issue here: http://www.pixvillage.com/blogs/devblog/archive/2005/03/26/174.aspx
Maybe this is a similar problem.