Setup a wrapper for background jobs.