code: def stop(self):
          
          log.info("%r: Stopping %r clients", self.container_id, len(self.clients))
          self.stopped = True
          self._close_clients()
docs: Stop the EventHubClient and all its Sender/Receiver clients.