Pessimistic locking for LRU cache.  This fixes #8