Helpers for creating tasks that work in the background.

This sort of task is special because it can get on with its work
immediately rather than waiting to be queued, and thus the queue just
has to wait for the job to complete rather than actually running the job.