code: final long attachTimeout() {
          if (attachTimeout == 0) {
              synchronized(this) {
                  if (attachTimeout == 0) {
                      try {
                          String s =
                              System.getProperty("sun.tools.attach.attachTimeout");
                          attachTimeout = Long.parseLong(s);
                      } catch (SecurityException se) {
                      } catch (NumberFormatException ne) {
                      }
                      if (attachTimeout <= 0) {
                         attachTimeout = defaultAttachTimeout;
                      }
                  }
              }
          }
          return attachTimeout;
      }
docs: /*
  Return attach timeout based on the value of the sun.tools.attach.attachTimeout
  property, or the default timeout if the property is not set to a positive
  value.