[minor] introduced a online property to prevent double `offline` emitting.