Solution: Change to the way it does below on non-Windows platforms, retry when send returns -1.
Attach a file by drag & drop or click to upload