Allow some time for ddmlib state to stabilize

Right after device connected, device will usually be seen
offline or unauthorized for a brief moment by ddmlib. In
order to avoid exception stack we briefly wait.
Also allows the missing state transition available to
offline.

Bug: 30512678
Bug: 30558560
Change-Id: Ie2e83fa22dc16c124dbf8dea550d5b735985c3fb
6 files changed