Use a shorter string and call [NSApp terminate].