net: Add CONFIG_NET_DO_NOT_TRY_ANOTHER option