sync store before closing tlog

In order to avoid mistakes I chose to have the most safe values as default .. but I could indeed make these arguments non-optional.