Shell-Input.js 's _wstream requires a end() not close() call to end it