The shutdown event is triggered when the ipc shuts down because of either a restart or when i3 exits.