Some Delayed Job functionality and restart job fix.