This method of the ActiveXInputStream Class closes the input stream and releases the IStream interface associated with the stream.
public void close() throws IOException;
IOException if an I/O error occurs.