Termites have a high adaptability
The queen’s pheromone determines the basic ecology of termites. But when the queen dies, the environment inside the nest will change and develop independently.
In some cases, termite worker can grow into alates/winged termite. When the king and queen die, the supplementary reproductive termites start to produce eggs. This flexible adaptation by termites allowing them to survive in a long time. Humans are putting their biggest effort to eradicate termites from time to time, but termites are always there and continue to breed.