def METHOD_NAME(self) -> None:
    """Start the Authentication Agent thread task"""
    loop = asyncio.new_event_loop()
    try:
        loop.run_until_complete(self._run())
    finally:
        if self.pipe:
            self.pipe.close()
            self.pipe = None  # type: ignore
        loop.close()