Fix `asap.onerror`

Ensure continuation in browsers too.

When `asap.onerror` throws, it shouldn't prevent other tasks to be called.