AtExit - Perform exit processing for a program or object