Fixes #6297 - remove unused and unreachable code that used delayed jobs
Fixes #6297 - delayed jobs is dead, long live foreman-tasks
Fixes #6283 - Use the Dynflow API to find out if the foreman_tasks is running

Instead of spawning process to find out the katello jobs was running