code: def disconnect_all(self):
          
          addresses = deepcopy(self._addresses)
  
          for ip, port in addresses:
              self.disconnect(ip, port)
  
          return self
docs: Disconnects from all connected servers.
          :rtype: self