ai players can't respawn, so when you kill them off they don't come back, and the game ends, but human players do get spawns, so you keep coming back, so there are always people and the game won't end if i'm am seeing this correctly.
how are you trying to end the game?