When scanning with the ADF, you must use "batch mode". In 'scanimage', use a command line such as:
$ scanimage -b --batch-scan=yes > output.pnm
In 'xsane', use the provided batch scan mode.