Fix typo
Auto set .ended on stream end
1.2.0