Need to make sure the threadOptimizer is reset when default is changed