Refs #5533 limit number of threads
Merge branch 'feature/5533_IntegratePeaksMD_segfault_new' into develop