Describe the bug
If I run pdl --trace trace.json examples/chatbot/chatbot.pdl and terminate with control-C or control-D I do not get a trace file generated.
To Reproduce
Run the above and terminate using a signal rather than input of "yes"
Expected behavior
The trace file should be generated if the user terminates the program.