Added a check to ensure we have at least 2 threads in configuration.