Container-shutdown event not raised after executing halt in container

I’m trying to detect when my containers shutdown. I’m listening on /1.0/events?type=lifecycle websocket, and I can detect when the container closes by executing lxc stop c, but not when I shutdown it manually by lxc exec c halt.