Fix ConnectionResetError in py/selenium/webdriver

Cr-Mirrored-From: https://chromium.googlesource.com/external/github.com/SeleniumHQ/selenium
Cr-Mirrored-Commit: a3336906b39bb7ef80010f4bb738bfee5da862be
1 file changed