Heartbeat: use `connected?` rather than `ping?`.