#NEWLINE# def _remove_timeout_handler( self , handler ) : #NEWLINE# #INDENT# 'Remove a TimeoutHandler from the pool.\n        ' #NEWLINE# if ( handler not in self . timeout_handlers ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# self . io_handlers . remove ( handler ) #NEWLINE# for thread in self . timeout_threads : #NEWLINE# #INDENT# if ( thread . handler_method . __self__ is self ) : #NEWLINE# #INDENT# thread . stop ( )