Basic structure for long-running job working.