protected void removeListener() {
    try {
      getDistributionManager().removeMembershipListener(this);
    } catch (DistributedSystemDisconnectedException e) {
      // ignore
    }
  }
Unregisters this processor as a membership listener

@since GemFire 5.7
geode-core/src/main/java/org/apache/geode/distributed/internal/ReplyProcessor21.java