### Body

The `test_no_orphan_process_will_be_left` in `TestSchedulerJob` is really flaky.

Before we know how to fix it, I will quarantine it:

https://github.com/apache/airflow/pull/18691/checks?check_run_id=3811660138

```
  =================================== FAILURES ===================================
  _____________ TestSchedulerJob.test_no_orphan_process_will_be_left _____________
  
  self = <tests.jobs.test_scheduler_job.TestSchedulerJob object at 0x7fc2f91d2ac8>
  
      def test_no_orphan_process_will_be_left(self):
          empty_dir = mkdtemp()
          current_process = psutil.Process()
          old_children = current_process.children(recursive=True)
          self.scheduler_job = SchedulerJob(
              subdir=empty_dir, num_runs=1, executor=MockExecutor(do_update=False)
          )
          self.scheduler_job.run()
          shutil.rmtree(empty_dir)
      
          # Remove potential noise created by previous tests.
          current_children = set(current_process.children(recursive=True)) - set(old_children)
  >       assert not current_children
  E       AssertionError: assert not {psutil.Process(pid=2895, name='pytest', status='running', started='06:53:45')}
  
```

### Committer

- [X] I acknowledge that I am a maintainer/committer of the Apache Airflow project.
tests/jobs/test_scheduler_job.py
dummy3 = DummyOperator(task_id="dummy3")
        [dummy1, dummy2] >> dummy3
    
    dag.clear()
    dr = dag.create_dagrun(run_type=DagRunType.MANUAL, state=State.RUNNING, execution_date=DEFAULT_DATE)
    assert dr is not None
    with create_session() as session:
        tis = {ti.task_id: ti for ti in dr.get_task_instances(session=session)}
        
        tis[dummy1.task_id].state = State.SKIPPED
        tis[dummy2.task_id].state = State.SUCCESS
        assert tis[dummy3.task_id].state == State.NONE
    
    
    with create_session() as session:
        tis = {ti.task_id: ti for ti in dr.get_task_instances(session=session)}
        assert tis[dummy1.task_id].state == State.SKIPPED
        assert tis[dummy2.task_id].state == State.SUCCESS
        
        assert tis[dummy3.task_id].state == State.SKIPPED
@pytest.mark.quarantined
class TestSchedulerJobQueriesCount:
    """
    These tests are designed to detect changes in the number of queries for
    different DAG files. These tests allow easy detection when a change is
    made that affects the performance of the SchedulerJob.
    """
    scheduler_job: Optional[SchedulerJob]
    @staticmethod
    def clean_db():