Support polling by a worker process
Support polling by a worker process

Let the worker process use long-polling to check for pending scanned
images.

LocalData/localdata-api,LocalData/localdata-api,LocalData/localdata-api