Fix #8: added lock around LRUCache.__getitem__