Recovered missing lines of code that supposed to break the SOCKS5 connection when the tunnel went down