use `threading` not ´loky` which has some issues (e.g. pickling and with windows machines when number of processors is too large)