Switch from random to sequential thread identifiers.