ENH: Make use of threads optional