Destory socket when tunnel is closed