code: protected void shutdownInput() throws IOException {
        if (fd != null && fd.valid()) {
            socketShutdown(SHUT_RD);
            if (socketInputStream != null) {
                socketInputStream.setEOF(true);
            }
            shut_rd = true;
        }
      }
docs: Shutdown read-half of the socket connection;