I've theorized this about sexually transmitted diseases, too. It's even less realistic to imagine compliance, but suppose everyone only had sex with people who were born the same year as them. Any given disease would lose the ability to spread into younger people, and simply fall off the end of the age conveyor-belt.