Use recommend way to disconnect and stop SOCKS server