Scheduler tasks can now survive restart in most cases.