[PATCH v3 3/7] use internal killtree, to not leave running sleep commands behind