The text 9c9eda34b5e3, as FreeBSD 12.0-RELEASE shipped it.
wait for thread termination
pthread_join(3) on FreeBSD now