Merge "lshal: exhaust pipe before closing." am: abecf2e90a

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1833033

Change-Id: Iea92b923999953a6efd934f72f3e7d7599853a22