Fixed: It is possible to start the scheduler more than once (bug#10670).
Fixed uninitialized value error.