code: public void removeChangeListener(@NonNull ListenerToken token) {
          if (token == null) { throw new IllegalArgumentException("token cannot be null."); }
  
          synchronized (lock) {
              if (!((token instanceof ReplicatorChangeListenerToken)
                  || (token instanceof DocumentReplicationListenerToken))) {
                  throw new IllegalArgumentException();
              }
              changeListenerTokens.remove(token);
              docEndedListenerTokens.remove(token);
              if (docEndedListenerTokens.size() == 0) {
                  setProgressLevel(ReplicatorProgressLevel.OVERALL);
              }
          }
      }
docs: Remove the given ReplicatorChangeListener or DocumentReplicationListener from the this replicator.