Revert "[runtime] Wait for the thread to really exit in Thread.Join (). (#5454)"