Fix kill logic

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>