fixing some old refs to promise-handler-case/wait-for