CRAS: test_client - Terminate the loop when we read EOF from stdin.
CRAS: test_client - Terminate the loop when we read EOF from stdin.

BUG=None
TEST=Run the program on stout

Change-Id: I15699b1bdd8d117cacdcd4d7488c681f2cd5e79e
Reviewed-on: https://chromium-review.googlesource.com/177311
Reviewed-by: Owen Lin <0a54d949e4b0b01f23b9b06ccd3e0b748fb4eb25@chromium.org>
Tested-by: Owen Lin <0a54d949e4b0b01f23b9b06ccd3e0b748fb4eb25@chromium.org>
Commit-Queue: Owen Lin <0a54d949e4b0b01f23b9b06ccd3e0b748fb4eb25@chromium.org>

drinkcat/adhd,drinkcat/adhd,drinkcat/adhd,drinkcat/adhd,drinkcat/adhd,drinkcat/adhd