lmdb nested transactions