Should flush the stream