https://www.wpbeginner.com/wp-tutorials/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds/
For the curl timeout, it could also be due to the firewall issue.
For the php82, I just tried, and it seems to be working fine now, if you still have the issue, let us know.