Merge changes I9757ab85,Idac80a24 am: 2e70b2d5d8
am: 0640b14df2

* commit '0640b14df292cf48fc3aaee2058908c88cfc0419':
  adb: change unsigned to uint32_t in sync struct definitions.
  adb: detect when the client disconnects in wait-for-device.