code: public void close()
          throws IOException
      {
          isClosed = true;
  
          OutputStream os = this.os;
          this.os = null;
  
          InputStream is = this.is;
          this.is = null;
  
          if (os != null)
              os.close();
  
          if (is != null)
              is.close();
      }
docs: Close the mux