Revert "adb: don't close sockets before hitting EOF."

This reverts commit de4b85ee780b4f4a0223b949b9a36d3ca1762635.

Reason for revert: DeviceIdleFreqCheckTest failing

Bug: http://b/117630047
Change-Id: Ia51a4a30e785bc5b2526695de3f442aac298198f
3 files changed