**Apache Airflow version**:

1.10.12

**What happened**:

I created dag with dagrun_timeout=2 minutes. 

After 2 minutes dagrun is marked as failed and the next one is started, but task keeps going.

**What you expected to happen**:

Task is killed with dag run as it is done when you mark dagrun failed manually.

**How to reproduce it**:
```
dag = DAG(dag_id='platform.airflow-test',
          description='',
          schedule_interval="0 0 * * *",
          start_date=datetime(2020, 7, 1),
          max_active_runs=1,
          catchup=True,
          dagrun_timeout=timedelta(minutes=2))

run_this = BashOperator(
    task_id='run_after_loop',
    bash_command=' for((i=1;i<=600;i+=1)); do echo "Welcome $i times"; sleep 1;  done',
    dag=dag,
)
```
tests/jobs/test_scheduler_job.py
([20, 11, 11, 11], 1, 1, "1d", "@once", "linear"),  
            ([20, 21, 23, 25], 1, 1, "1d", "30m", "no_structure"),  
            ([20, 21, 23, 25], 1, 1, "1d", "30m", "linear"),  
            ([20, 21, 23, 25], 1, 1, "1d", "30m", "binary_tree"),  
            ([20, 21, 23, 25], 1, 1, "1d", "30m", "star"),  
            ([20, 21, 23, 25], 1, 1, "1d", "30m", "grid"),  
            
            ([8, 8, 8, 8], 1, 5, "1d", "None", "no_structure"),  
            ([8, 8, 8, 8], 1, 5, "1d", "None", "linear"),  
            ([20, 11, 11, 11], 1, 5, "1d", "@once", "no_structure"),  
            ([21, 12, 12, 12], 1, 5, "1d", "@once", "linear"),  
            ([20, 21, 23, 25], 1, 5, "1d", "30m", "no_structure"),  
            ([21, 23, 26, 29], 1, 5, "1d", "30m", "linear"),  
            ([21, 23, 26, 29], 1, 5, "1d", "30m", "binary_tree"),  
            ([21, 23, 26, 29], 1, 5, "1d", "30m", "star"),  
            ([21, 23, 26, 29], 1, 5, "1d", "30m", "grid"),  
            
            ([8, 8, 8, 8], 10, 10, "1d", "None", "no_structure"),  
            ([8, 8, 8, 8], 10, 10, "1d", "None", "linear"),  
            ([83, 26, 26, 26], 10, 10, "1d", "@once", "no_structure"),  
            ([93, 39, 39, 39], 10, 10, "1d", "@once", "linear"),  
            ([83, 87, 87, 87], 10, 10, "1d", "30m", "no_structure"),  
            ([93, 113, 113, 113], 10, 10, "1d", "30m", "linear"),  
            ([93, 107, 107, 107], 10, 10, "1d", "30m", "binary_tree"),  
            ([93, 107, 107, 107], 10, 10, "1d", "30m", "star"),  
            ([93, 107, 107, 107], 10, 10, "1d", "30m", "grid"),  
        ]
    )
    @pytest.mark.quarantined
    def test_process_dags_queries_count(