Flush data periodically instead of their buffering