def abortConnection(self):
        """
        Tear down TLS state so that if the connection is aborted mid-handshake
        we don't deliver any further data from the application.
        """
        self._aborted = True
        self.disconnecting = True
        self._shutdownTLS()
        self.transport.abortConnection()

        Tear down TLS state so that if the connection is aborted mid-handshake
        we don't deliver any further data from the application.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/protocols/tls.py