auto http_close_fn = [=]() {
lt.hserver->Stop();
OnListenThreadExited(exited_listen_thread_count->fetch_add(1) + 1);
};
This lamba function use = to capture which will cause the shared_ptrstd::thread copied and then we cannot determine when to destruct the thread.