ENH: Add max NbThreads option