Why is this `collectedActivities` boolean being used? `clientA` should not receive any more messages until the activities have been collected should it?