Loading: Wait until all threads are finished