remove tunnel generation in another thread