Added production fix for running delay_job task