sync store before closing tlog