def METHOD_NAME(self) -> List[str]:
    names = []
    this_connection = self.get_if_exists()
    with self.lock:
        for connection in self.thread_connections.values():
            if connection is this_connection:
                continue
            # if the connection failed, the handle will be None so we have
            # nothing to cancel.
            if connection.handle is not None and connection.state == ConnectionState.OPEN:
                self.cancel(connection)
            if connection.name is not None:
                names.append(connection.name)
    return names