Index service: Fix kill task
Index service: TaskConsumer tests