Allow thread number override