On exit

The program will now gracefully exit