added fix to delayed_job script, now worker reconnects after fork