The text 74a96ee2d11e, as FreeBSD 11.1-RELEASE shipped it.
wait for processes to change status
waitpid(2) on FreeBSD now