This avoids infinite loop when something went wrong and throws a error
Attach a file by drag & drop or click to upload