changed the number of default worker threads to #cores - 1