Fix error on kill() it there's no logger