Remove useless img_read_close().