Fixed bug# 10670 - It is possible to start the scheduler more than once.