Delete temp subs on exit