Emit exit when channel has closed, ensuring all data is available.
Merge remote-tracking branch 'origin/master'