adb: don't immediately close a socket when write fails.
am: 7c87b0739a

Change-Id: I81d8e14285a8272ed0cae45a7e366db628939b20