How to Force a Program to Close