DEV: Retry when Net::HTTP throws EOFError (PR #10921)

Mighht fix an inconsistent issue when running tests in CI.

GitHub