12. A system for controlling a wireless wide area network (WWAN) modem configured to attach to at least one cellular network, the system comprising:at least one memory configured to store computer-executable instructions; and
at least one processor coupled to the at least one memory and configured, when executing the computer-executable instructions, to:
querying the modem in a plurality of instances, wherein each instance of the plurality of instances comprises:
determine values for a plurality of variables that describe an operational state of the modem relative to the at least one cellular network; and
increment a counter responsive to determining that the determined values satisfy a predefined first set of criteria, wherein satisfying the predefined first set of criteria indicates an impending failure of the modem; and
responsive to the value of the counter reaching a predefined number of instances that is greater than one, automatically perform a first action on the modem that comprises temporarily disrupting provision of power to the modem.