Scheduler shutdown timeout needs to be longer on slow machines. See #3027

If I slow down the timer thread slightly, trying to handle all the scheduled tasks in the test will make the shutdown time out.

Changed so that the shutdown time out is dilated in this test.