support wait resume wait_for_change