Removed obsolete thread join().