pk: Don't forget to finish streams
The stream would remain open ad eternum, hoping for a finish() call that would never come.
(cherry picked from commit a5fb09b8)
The stream would remain open ad eternum, hoping for a finish() call that would never come.
(cherry picked from commit a5fb09b8)