Add sample of threads' join.