Wrap triage command in a loop