Fix: Scheduled task failed to 'finish()'