IOException: Stream closed
Ensure the stream is open before attempting to read or write data.
Below is an instruction that describe a  task, paired with an input that provides further context. Write a response that appropriately completes the request.

 ### Instruction:
IOException: Stream closed
 ### Input
Trying to read from a closed input stream or write to a closed output stream.
###Response
Ensure the stream is open before attempting to read or write data.