It's re-entering an area (always works for me).

According to some back-and-forth banter here on the forums we came to the conclusion the zombies stop spawning once the "brains" behind their spawning is dead though, but the rest respawns indefinitely if they can respawn...