^C causes a Core dump

Below needs ^C twice (as in #227) and dumps core (as in #4 (closed))

$ wget2 https://repo.maven.apache.org/maven2/fish/payara/distributions/payara/5.2021.9/payara-5.2021.9.zip -O /dev/null
[0] Downloading 'https://repo.maven.apache.org/maven2/fish/payara/distributions/payara/5.2021.9/payara-5.2021.9.zip' ...
^C^CAborted (core dumped)

On FC35

$ uname -r
5.15.6-200.fc35.x86_64
$ wget2 --version
GNU Wget2 2.0.0 - multithreaded metalink/file/website downloader

+digest +https +ssl/gnutls +ipv6 +iri +large-file +nls -ntlm -opie +psl -hsts
+iconv +idn2 +zlib +lzma +brotlidec +zstd +bzip2 -lzip +http2 +gpgme

and Ubuntu 21.10

$ uname -r
5.13.0-1011-raspi
$ wget2 --version
GNU Wget2 1.99.1 - multithreaded metalink/file/website downloader

+digest +https +ssl/gnutls +ipv6 +iri +large-file +nls -ntlm -opie +psl +iconv +idn2 +zlib +lzma +brotlidec +bzip2 +http2 +gpgme