def shutdown(self):
        """
        Shuts down all CAN interfaces and hardware interface.
        """
        try:
            self._ucan.shutdown()
        except Exception as ex:
            log.error(ex)