Describe the bug
When running jobs via the cli with the --wait param if the job times out the CLI returns a 401. The jobs end up succeeding in the UI but the build fails due to the timeout.
To Reproduce
Steps to reproduce the behavior (including version, environment)
Expected behavior
CLI should return an error message that clearly indicates it timed out waiting for the job to complete.
Observed behavior
CLI returns a 401
Additional context
Slack conversation