only add shutdown autocmd once, and group it