[Bug 11052] crypt32 accesses freed memory and tries to enter deleted critical sections on process shutdown