move cooldown cleanup to its own method