added scheduler suspend  API