_ensure_connected add ping