various thread-related issues fixed in libshardcache

especially in regards of highly concurrent sets and consecutive evictions