public void shutdown() throws FilterNotFound {
    if (filterId_ != Integer.MIN_VALUE) {
      pushSupplier_.remove_filter(filterId_);
    }

    Assert.assertTrue(!pushSupplier_._non_existent());
    pushSupplier_.disconnect_structured_push_supplier();

    if (filter_ != null) {
      filter_.destroy();
    }
  }