This fixes a situation where the handler can exit too early.
Attach a file by drag & drop or click to upload