CPU Hog removal

Merged Ramon Nou requested to merge rnou/cpu_hog into main

This MR removes a CPU hog (100%) on the MPI threads. Using thallium::thread::sleep produces it, we changed to a self::thread::wait_for to remove the extra CPU usage.

Merge request reports