A returned Promise may be rejected with AbortError

When a user is going to close the page, pending Promise may be
rejected with AbortError.