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