fixed error on creation of thread list which doesn't allow create more threads that CPUs available