Ending games plugins properly