Fix: stream close