Currently user must call `set_num_threads` to update internal state for parallelism which is for some reason unacceptable.