Add flush to with-output