Merge "Dump threads for troubleshooting when catalyst test timeout" into main