def resetCards(self, soft=True):
        if soft:
            resetThread = ResetThread(self)
            resetThread.setDaemon(True)
            # Start handling C-APDUs.
            resetThread.start()
        else:
            for cardDict in self.cardsDict:
                cardDict[MAIN_INTERFACE].reset()