@Override
    public List<ServiceDeploymentInfo> getServiceDeploymentInfoList() {
        List<ServiceDeploymentInfo> serviceDeploymentInfoList = new ArrayList<>();
        for (Sink sink : transports) {
            serviceDeploymentInfoList.addAll(sink.getServiceDeploymentInfoList());
        }
        return serviceDeploymentInfoList;
    }
Will be called at the end to clean all the resources consumed
modules/siddhi-core/src/main/java/io/siddhi/core/util/transport/MultiClientDistributedSink.java