This method is to notify the component that there is no more data to be processed.
It MUST be called to end the stream. It should perform any required cleanup in response to calling this method.