Schedule a close event for this stream. After this method is called, the stream will reject any new events.