Forgot to unlock a mutex in commit 194c5fd2cc4719f39f1549f647364ffb0cc4bf60