Flush before commit in big tasks