stream_input: avoid IO#close on client disconnect