Similar to:  Related to #1719 Also, improve performance of get_hardware() by adding some multithreading.