#NEWLINE# def disconnectClient( self , destination ) : #NEWLINE# #INDENT# factory = self . client_factories . pop ( destination ) #NEWLINE# c = factory . connector #NEWLINE# if ( c and ( c . state == 'connecting' ) and ( not factory . hasQueuedDatapoints ( ) ) ) : #NEWLINE# #INDENT# c . stopConnecting ( )