Simplify wait_for_stop_or_ponderhit()