[Workhorse]: Fix flaky duoworkflow/client_test.go test
What does this MR do and why?
Related failure: https://gitlab.com/gitlab-org/gitlab/-/jobs/10472443178
Related issue: Thursday 2025-06-26 08:43 UTC - `gitlab-org/git... (gitlab-org/quality/engineering-productivity/master-broken-incidents#14046 - closed)