Cleanup in CTFAppDelegate.