Fix stream.push after EOF and Undefined