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

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

Change-Id: I711abc6d5e9e9cab688d354a973e96338e50e610