lshal: exhaust pipe before closing.

If there is a pending close request on the pipe,
but there's still data in the pipe, exhaust it.

Test: com.google.android.power.pts.PowerTest#power2RockBottomCheckTest
Bug: 200623090

Change-Id: Iaaa4ba0c3af480671d7d63f9b2dbf682277a3430
diff --git a/cmds/lshal/PipeRelay.cpp b/cmds/lshal/PipeRelay.cpp
index 0c3fb96..863490d 100644
--- a/cmds/lshal/PipeRelay.cpp
+++ b/cmds/lshal/PipeRelay.cpp
@@ -82,6 +82,7 @@
                 continue;
             }
             out->write(buffer, n);
+            continue;
         }
         if (pfd[0].revents & POLLHUP) {
             break;