Fixes #9284 ("WaitForSingleObject(mutex) must handle WAIT_ABANDONED")

[SVN r86512]