Use `next-error-highlight-timer' instead of `sit-for'.
Attach a file by drag & drop or click to upload