add `max-threads` options into windows config