extract `safe_fetch_job` method
get a page of jobs
Minor refactoring of the paging logic.
Fix typo.