If we need to set IPV6_V6ONLY but setsockopt() fails, close the