code: public void close() {
          if(nativeProxy!=0) {
              new Task<Void>() {
                  public Void call() {
                      Native.unadvise(nativeProxy);
                      return null;
                  }
              }.execute();
              nativeProxy = 0;
          }
      }
docs: Terminates the event subscription.