This is incorrect and wasn't being called anyway.
Refer: https://docs.python.org/2/library/atexit.html for documentation.