docs: public synchronized void setMaximumPoolSize(int maximumPoolSize)
      {
          if (maximumPoolSize <= 0)
          {
              throw new IllegalArgumentException("New maximumPoolSize (" + maximumPoolSize + ") is must be positive");
          }
  
          if (maximumPoolSize < poolSize)
          {
              throw new IllegalArgumentException(
                      "New maximumPoolSize (" + maximumPoolSize + ") is less than current pool size (" + poolSize + ")");
          }
  
          if (pool != null)
          {
              pool.setMaximumPoolSize(maximumPoolSize);
          }
          this.maximumPoolSize = maximumPoolSize;
      }