supress socket error when address family is not supported