code: @Override
      public final void close() {
          stopped = true;
          super.close();
          final ScheduledFuture<?> scheduledFuture = this.scheduledFuture;
          if (scheduledFuture != null) {
              scheduledFuture.cancel(true);
          }
      }
docs: Stops polling DNS servers for service updates.