def close ( self , wait = False ) : self . session . close ( ) self . pool . shutdown ( wait = wait )
python shutdown a pool
Close session shutdown pool .
def close(self, wait=False):
        """Close session, shutdown pool."""
        self.session.close()
        self.pool.shutdown(wait=wait)