def METHOD_NAME(self):
    if self.write_socket:
        self._connect(self.write_socket, self.hostname, self.write_port)
    if self.read_socket and self.read_socket != self.write_socket:
        self._connect(self.read_socket, self.hostname, self.read_port)
    super().METHOD_NAME()