Create shutDown() method

This allows us to close the logger upon program shutdown. This should be called when the program is exiting.