Added `id` param for kill_tasks().

@guenter