The text 73b9c71108bf, as FreeBSD 12.1-RELEASE shipped it.
wait for thread termination
pthread_join(3) on FreeBSD now