Cleanup ToolCore