[TS-1356] Ability to set thread affinity with multiple modes
[TS-1744] ats run with 1 less event thread then it is supposed to, for
both auto and manual thread config