[autotest] fix a bug in rpm_dispatcher

This fixed a bug introduced in CL:212357
We need to stop trying if an rpm power state request
failed.

BUG=chromium:212346
TEST=unittest; Integration tests with other cls in this series, set
up a local rpm server and power cycle devices. Make sure
the bug goes away.

Change-Id: I39d9e7fce464a762bca4847de33e7e2c59317e5b
Reviewed-on: https://chromium-review.googlesource.com/216840
Reviewed-by: Dan Shi <dshi@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Tested-by: Fang Deng <fdeng@chromium.org>
Commit-Queue: Fang Deng <fdeng@chromium.org>
1 file changed