code: public synchronized void setReconnecting(boolean b) {
          reconnecting = b;
          if (transaction != null) {
              ((ModbusTCPTransaction)transaction).setReconnecting(b);
          }
      }
docs: Sets the flag that specifies whether to maintain a
  constant connection or reconnect for every transaction.
  
  @param b true if a new connection should be established for each
  transaction, false otherwise.