code: @Override
      public void close() {
          if (!this.started) {
              throw new IllegalStateException("The stub server hasn't been started yet.");
          }
          
          logger.debug("stopping the underlying stub server...");
          
          try {
              server.stop();
          } catch (final Exception ex) {
              throw new JadlerException("Stub http server shutdown failure", ex);
          }
          this.started = false;
      }
docs: {@inheritDoc}