remoteProgress.beginTask("Consistency recovery for buddy "
+ session.getLocalUser().getJID().getBase(),
filesRemaining.get());
session.sendActivity(session.getHost(), new ChecksumErrorActivity(
session.getLocalUser(), pathsOfHandledFiles, recoveryID));
try {
// block until all inconsistencies are resolved
int filesRemainingBefore = filesRemaining.get();