code: protected int getTimeoutForResponse() {
          String timeout_s = null;
          int timeout;
          try {
              timeout_s = this.getAttributeValueSmart(TIMEOUT);
              timeout = timeout_s==null?30:Integer.parseInt(timeout_s);
              if (timeout<0) timeout = 30;
          } catch (NumberFormatException e) {
              logger.severeException("Cannot parse timeout value " + timeout_s, e);
              timeout = 30;
          } catch (PropertyException e) {
              logger.severeException("Cannot read timeout attribute " + TIMEOUT, e);
              timeout = 30;
          }
          return timeout;
      }
docs: Timeout value for waiting for responses. Used for synchronous mode only.
  The default method reads from the attribute "Time out (sec)", and
  return 30 seconds if the attribute is not defined.
  
  @return timeout value in seconds