Describe the bug

To Reproduce
Steps to reproduce the behavior:
- Go to Unit test
- Create a ApiClient and let GetQps return 0.
- it will stuck
Expected behavior
return an error or force set slots ot 1 but not stuck.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
return an error or force set slots ot 1 but not stuck.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.