Fixed small bug when stopping the scheduler; re-enabled the test (after leaving it more time to execute).