cqerl_client: Fix sleep-state event message handling