This prevents a race condition against the garbage collector.
Attach a file by drag & drop or click to upload