code: def close(self):
          
          for cid in list(self.connections.keys()):
              self.remove(self.connections[cid].handle)
          LOGGER.debug('Pool %s closed', self.id)
docs: Close the pool by closing and removing all of the connections