appinsights seems to monkey patch even if explicitly disabled, so instead just only load it if needed