Reset alarm after task execution