Flush the output on each print