keeps the scheduler from being garbage collected