scheduler shutdown added