Hi,
I got the same problem 4 years ago, the prblem is that the image callback is always called even if there is an error, so i modified the imageen source code to ignore callback when an error is occured, if you have imageen source code, you need to modify the imscan file (i use vcl version), in the IETW_XferReadyMulti procedure, find the line "MultiCallBack(fBitmap, TObject(IOParams), ImDpiX, ImDpiY);", just before add this ligne "if not fAborting then"
The code before the modification is
MultiCallBack(fBitmap, TObject(IOParams), ImDpiX, ImDpiY);
FreeAndNil(fBitmap);
After the modification , the code will be
if Not fAborting then
MultiCallBack(fBitmap, TObject(IOParams), ImDpiX, ImDpiY);
FreeAndNil(fBitmap);