Added close() to XoringInputStream