Limit the number of threads used in native libs that have their own threadpool
https://github.com/joblib/threadpoolctl/