Added "timed outable" locks around the non-thread-safe LRU caches

The timeouts are to "prevent" deadlocks