automatic flushing on with_eventloop