Temporarily move pause between retrieve_batch and process_batch, to avoid locking contention
Merge pull request #4 from remind101/pause-for-intermission

move pause logic