Clean up client main game loop