Leave LMDB mutex locked for lifetime of cursor.