args.threads must be an int