exit command for main game loop