Frequent Connection Resets with maven on github actions

Hi All,

When I run GitHub Actions with Maven, we get frequent connection resets with Maven connecting to Maven Central.

Error:  Failed to execute goal on project fhir-bulkdata-webapp: Could not resolve dependencies for project com.example:example-webapp:war:4.9.0-SNAPSHOT: Could not transfer artifact com.example:example-java-sdk:jar:2.9.0 from/to central ( transfer failed for Connection reset -> [Help 1]
Error:  To see the full stack trace of the errors, re-run Maven with the -e switch.
Error:  Re-run Maven using the -X switch to enable full debug logging.
Error:  For more information about the errors and possible solutions, please read the following articles:
Error:  [Help 1]
Error:  After correcting the problems, you can resume the build with the command
Error:    mvn <args> -rf :example-webapp
Error: Process completed with exit code 1.

How have others worked around this issue?

Thank you