The "TAKEDOWN" scripts of dao programs were not being evaluated on exit, this bug has been fixed.