wait_for_any_key as a interrupt state