atexit lets you register a function that runs when your code ABENDs.
Use this in my bots to signal when they crash?