fix(ios): suppress expected cancellation errors when `beforeload` is set (#1145)