def METHOD_NAME(self) -> None:
    from robocorp_ls_core.debug_adapter_core.debug_adapter_threads import (
        STOP_WRITER_THREAD,
    )
    socket, _addr = self._server_socket.accept()
    self._server_socket.close()
    from robocorp_ls_core.debug_adapter_core.debug_adapter_threads import (
        writer_thread,
    )
    from robocorp_ls_core.debug_adapter_core.debug_adapter_threads import (
        reader_thread,
    )
    import queue
    from robotframework_debug_adapter_tests.fixtures import _DebuggerAPI
    read_from = socket.makefile("rb")
    write_to = socket.makefile("wb")
    write_queue: queue.Queue = queue.Queue()
    read_queue: queue.Queue = queue.Queue()
    writer = threading.Thread(
        target=writer_thread,
        args=(write_to, write_queue),
        name="Client debugger API writer",
    )
    writer.daemon = True
    reader = threading.Thread(
        target=reader_thread,
        args=(read_from, read_queue.put, read_queue),
        name="Client debugger API reader",
    )
    reader.daemon = True
    reader.start()
    writer.start()
    self.debugger_api = _DebuggerAPI(
        reader=reader,
        writer=writer,
        write_queue=write_queue,
        read_queue=read_queue,
        dap_resources_dir=None,
    )
    self.started.set()
    try:
        assert self.finish.wait(5)
        write_queue.put(STOP_WRITER_THREAD)
        socket.shutdown(SHUT_WR)
        socket.close()
    except:
        log.exception()
    finally:
        self.sockets_closed.set()