finish scheduler