The first implementation of processfamily

Hopefully it will work.
Is there a reason this is for 5 seconds, whereas other prevention of tight loops sets 1 second?  Should we consider breaking from the loop on this sort of unexpected Error?