For a program with no handles because there are no forms, how would I be able to determine if the system is shutting down to close the program?