flush in Stream