Fix thread pool/affinities.