requires that basic_ostream::flush creates a sentry object to verify
the stream state.
However, for streams with the unit_buf flag set, like std::err, the
destructor of the sentry object will again call flush(). This seems to
create an infinite recursion for