add tunnel thread