daemon: make aug_close cleanup available for all

Just code motion, no behaviour changes.