String[] listConnectedGatewayReceivers() {
    if (cache != null && !cache.getGatewayReceivers().isEmpty()) {
      Set<GatewayReceiver> receivers = cache.getGatewayReceivers();
      String[] receiverArray = new String[receivers.size()];
      int j = 0;
      for (GatewayReceiver recv : receivers) {
        receiverArray[j] = recv.getBindAddress();
        j++;
      }
      return receiverArray;
    }
    return ManagementConstants.NO_DATA_STRING;
  }
Using async thread. As remote operation will be executed by FunctionService. Might cause
problems in cleaning up function related resources. Aggregate bean DistributedSystemMBean will
have to depend on GemFire messages to decide whether all the members have been shutdown or not
before deciding to shut itself down
geode-core/src/main/java/org/apache/geode/management/internal/beans/MemberMBeanBridge.java