Make sure scheduler can actually be shut down on python 2.6 fix #2705
Stop using Thread.join in scheduler