Inhibit quit in pe/get-directory-tree-async