code: def close(self, suppress_logging=False):
          
          for publisher in self.publishers:
              try:
                  publisher.close()
              except Exception as e:
                  self.logger.error('Exception on closing Flopsy Publisher {0}: {1}'.format(self.name, e),
                                    exc_info=not suppress_logging)
          self.publishers.clear()
docs: purges all connections. method closes ampq connection (disconnects)