handle input stream ending
0.0.4
reset streams to null
trigger the actual stream end
no logging