ConnectionPlugin: fix TimeoutTransport on Python 2.7