How would you optimize a long-running C++ service to avoid leaks and performance degradation at Autonomous Solutions?