Return True if the transport is closing or closed.
asyncio/BaseTransport.is_closing
BaseTransport.is_closing