'Use the C{attemptsBeforeDisconnect} value defined by the factory to make
it easier to override.'

@property
def attemptsBeforeDisconnect(self):

    return self.transport.factory.attemptsBeforeDisconnect
