Close exit menu when sleep called