i made a timer with: auto delay_timer = timer_create_default(); and cannot terminate it using: delay_timer.cancel(); timer is started with: delay_timer.every(1000, bomb_armed); seems he need the "task", but cannot find a way to define this task ...