def work_failed(work)
      if (manager = @execution_plan_managers[work.execution_plan_id])
        manager.terminate
        # Don't try to store when the execution plan went missing
        plan_missing = @world.persistence.find_execution_plans(:filters => { uuid: work.execution_plan_id }).empty?
        finish_manager(manager, store: !plan_missing)
      end
    end
def work_failed(work)
      if (manager = @execution_plan_managers[work.execution_plan_id])
        manager.terminate
        # Don't try to store when the execution plan went missing
        plan_missing = @world.persistence.find_execution_plans(:filters => { uuid: work.execution_plan_id }).empty?
        finish_manager(manager, store: !plan_missing)
      end
    end
called when there was an unhandled exception during the execution
 of the work (such as persistence issue) - in this case we just clean up the
 runtime from the execution plan and let it go (common cause for this is the execution
 plan being removed from database by external user)