if this is the only thing you are doing when `ms_ipv6` is True, why not doing in the try/except block (below `mon_host.append`) instead of adding another variable?