Implemented close() in DataInputStream emu