1014390: Speed up pulp actions by using a variable wait time

Here are the results publishing a definition that has 2 zoo repos (with less than 10 packages a piece).

| branch | Publish Time  (seconds) |
|---------------|:-------------------:|
| master    | 100-120       |
| #3091       | 17-24           |