ActiveAE: faster flushing of stream