Fix for commit 4b32921. Unlock the cache mutex.