Remove deprecated threadCount variable.