Well if there were only one queen for each race and it died, then the race would probably die too eventually from old age. But my guess is that when the queen is about to die the queen gives birth to a new queen. And so the race is spared and everything resumes it's normal cycles.
The point is that the queen gives birth to a new queen at the end of her life.
