Cap number of saved hang traces at 3 (#47674)

Prevents unbounded grown of the `hang_traces` directory.

Release Notes:

- Fixed excessive disk space usage from the `hang_traces` directory.
b9233dad73Cole Miller committed on 1/26/2026, 8:43:39 PM· committed by GitHubparentf73242a
1 file changedLine totals unavailable