Clean up game loop