asyncio: Fix _ProactorBasePipeTransport.__repr__()

Check if the _sock attribute is None to check if the transport is closed.
1 file changed