code: public OperationFuture<Server> removeSecondaryNetworks(Server server) {
          ServerMetadata serverMetadata = findByRef(server);
  
          List<NetworkMetadata> networks = client.getNetworks(serverMetadata.getLocationId());
  
          List<JobFuture> jobFutures = networks.stream()
              .map(network -> client.getNetwork(
                  network.getId(),
                  serverMetadata.getLocationId(),
                  IPAddressDetails.CLAIMED.name()
              ))
              .filter(metadata -> {
                  List<String> serversInNetwork = metadata.getIpAddresses().stream()
                      .filter(ip -> !ip.getPrimary())
                      .map(com.centurylink.cloud.sdk.server.services.client.domain.network.IpAddress::getServer)
                      .collect(toList());
  
                  return serversInNetwork.contains(serverMetadata.getName());
              })
              .map(metadata -> removeSecondaryNetwork(server, Network.refById(metadata.getId())).jobFuture())
              .collect(toList());
  
          return new OperationFuture<>(
              server,
              new ParallelJobsFuture(jobFutures)
          );
      }
docs: Remove all secondary networks
  
  @param server server reference
  @return OperationFuture wrapper for Server