Added the max_attempts to 5 for delayed job in the delayed_job_config.rb file