You'd have to be holding the mutex the entire time you're running the query, and there was a case where that would lead to a deadlock.  I can't remember the exact details right now, but I'll work them out again and come back to you later this week.