code: @Override
      public void close()
          throws IOException
      {
          OutputStream os = _os;
          _os = null;
  
          if (os != null) {
              _state.next(-1);
              os.close();
          }
  
          _state.println();
      }
docs: closes the stream.