handle ECONNRESET upon early stdin end

related to https://github.com/stream-utils/duplex-child-process/pull/4