3b553fd80b
When we close() the receiveStream is cleared and we should not be reading from it after. So detect and handle this.