addd "-t" arg, for setting max threads