fix for invocationCount and threadPoolSize usage scenarios
2 files changed