adb: use asocket\\\'s close function when closing. am: f71c01493a am: d179556680
am: e2a5846402

Change-Id: I089c7390c4e5f325b3c6e8ff54012430a436c05d