PSM trace lifecycle: traceCount episodes, sptrace_stop leak fix, trace restart
