Remove accidental second call to stream.end() - copy+paste fail.