Used to communicate to the underlying component that there is no more data to read or write.
This finalizes the operation and must be called when reading/writing is complete.