`processJobs` helper with reusable error handling
`processJobs` helper with reusable error handling

There's quite a bit of commonality across workers with respect to setting up error handling for jobs and queues, especially if jobs are configured with multiple attempts.

This helper function extracts that into a reusable helper function.

sdweber422/echo,ian-deans/echo,LearnersGuild/echo