Cleanup exit handling issued from SAGE