Allow delay_jobs configuration to be a proc

decide whether to background one job at a time