.. instead of InputStream::LockRead(). The former is cancellable.
Attach a file by drag & drop or click to upload