add heartbeat pingpong