"flush" event should always fire after "flush" call