Ryan Bak 8bc8db6495 Check status on agent stop and wait if not stopped
Waits up to 10 seconds for shutdowns to complete before returning.
Helps ensure restarts will actually start.
Allows us to remove the old 1 second sleep between start and stop,
which was not always necessary and not always enough.

Change-Id: I45c30cf2ffa29a77ee30b2b20b87519f32ee0b61
2016-12-13 14:57:51 -07:00
..
2015-09-24 16:00:56 +09:00