ThreadLocal cache for mapdb