Closes this input stream and releases any system resources associated with the stream.
if an I/O error occurs.