This happens when attackers are not able to freely run out of the base. Either the terrain is in the way, or there is unsuccessful spawning on the roofs of tents, etc. We have to come in and kill the stuck NPCs in order for the purge to continue. This is a serious drawback.