Improve logging order by actually joining threads as they complete rather than waitin...