ed72cbcaec
before we wait for the callback, because the callback will try to lock the lock again. (show up in debug+threaded build) This commit was SVN r14731.