'A testable version of the C{ITCPTransport.abortConnection} method.
Since this is a special case of closing the connection,
C{loseConnection} is also called.'

def abortConnection(self):

    self.aborting = True
    self.loseConnection()
