[TS-3060]: fix memory leak in cleaning up tunnel resources
[TS-3060] : Fix memory leak in cleaning up tunnel resources