Make sure that failure paths call CloseHandle outside of the function that failed
Attach a file by drag & drop or click to upload