The text 1ae80239efd0, as FreeBSD 11.3-RELEASE shipped it.
wait for processes to change status
waitid(2) on FreeBSD now