bpo-33674: Pause the transport as early as possible (GH-7192)

(cherry picked from commit f295587c45f96b62d24f9a12cef6931b0805f596)

Co-authored-by: Yury Selivanov <yury@magic.io>
2 files changed