provide option to disable delay_flush