if(reg.isErsCodes() || reg.isSecSharing() || reg.isPVSS()){
for (int i = 0; i < rcs.replies.size(); i++) {
if (maxVerCounter >= T && versionReceived[i] != 1) {
CloudReply resp = rcs.replies.get(i);
resp.invalidateResponse();
} else if (oldVerCounter >= T && versionReceived[i] != 2) {
CloudReply resp = rcs.replies.get(i);
resp.invalidateResponse();
}
}