Fix for #8: during interpreter shutdown we may have an exception when printing the traceback.