poll can return EINTR, so we need to handle that. Fixes: #1166
Attach a file by drag & drop or click to upload