def METHOD_NAME(self, _):
    self.logger.info('Core connected, starting code executor')
    if self.started:
        return
    if not self.tcp_server.listen(port=self.port):
        self.logger.error("Unable to start code execution socket! Error: %s", self.tcp_server.errorString())
    else:
        connect(self.tcp_server.newConnection, self._on_new_connection)
    self.started = True
    self.logger.info('Code executor started')