MULE-6872: Fixing scheduler disposal issue which made tests take a long ...

...time