Why did the anime never end Team Rocket?

I'm not saying that Jessie, James and Meowth should have left, but rather why they didn't close down Team Rocket as a whole, especially Giovanni, he already created an artificial Pokemon that could have destroyed the world, controlled three demigods and almost destroyed Unova. and should we simply accept that he will remain at large? my biggest problem is JN gave a lot of prominence to the rocket team as an organization I really thought they were going to close this page and I think they could have done that even before master 8 which wouldn't change much since Jessie and James don't even look like each other anymore being from team rocket in master 8, so how do you think they could have finished team rocket?