def METHOD_NAME(self, task, timeout):
    cli = self.pyload.is_client_connected()
    task.set_waiting(timeout)
    # if cli:  #: Client connected -> should solve the captcha
    #     task.set_waiting(50)  #: Wait minimum 50 sec for response
    for plugin in self.pyload.addon_manager.active_plugins():
        try:
            plugin.captcha_task(task)
        except Exception:
            self.pyload.log.warning(
                self.pyload._("Unable to create captcha task"),
                exc_info=self.pyload.debug > 1,
                stack_info=self.pyload.debug > 2
            )
    if task.handler or cli:  #: The captcha was handled
        self.tasks.append(task)
        return True
    task.error = self._("No Client connected for captcha decrypting")
    return False