persist params immediately after we know that we've send all pending