When an error occurs after the file has been opened, the function will never close the FILE object.
Attach a file by drag & drop or click to upload