/** INTERNAL */ public int getPowerOffCount() { return (session == null || session.isClosed()) ? 0 : session.getPowerOffCount(); }