moving raise call in NotifierPage.wait