original_docstring:  Close all pool connections for a clean shutdown 
docstring: Close all pool connections for a clean shutdown
docstring_tokens: Close all pool connections for a clean shutdown
code: def close_all(self):
          """ Close all pool connections for a clean shutdown """
          while not self.pool.empty():
              conn = self.pool.get_nowait()
              try:
                  conn.close()
              except Exception:
                  pass
code_tokens: def close_all ( self ) : while not self . pool . empty ( ) : conn = self . pool . get_nowait ( ) try : conn . close ( ) except Exception : pass
short_docstring: Close all pool connections for a clean shutdown
short_docstring_tokens: Close all pool connections for a clean shutdown
comment: """ Close all pool connections for a clean shutdown """