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 (https://repo.maven.apache.org/maven2): transfer failed for https://repo.maven.apache.org/maven2/com/example/2.9.0/example-java-sdk-2.9.0.jar: Connection reset -> [Help 1]
Error:  
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:  
Error:  For more information about the errors and possible solutions, please read the following articles:
Error:  [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
Error:  
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

Paul