os.makedirs(...) -> try: [...]
Experimentally add a catch for ConnectionResetError.