make the watchdog keep check on the parent too, in case it crashes.

having the children be reparented makes things go crazy otherwise.
delete the old tmp dirs on each run