When this has happened to me, it is the unit that is at fault, not the card.
Always make sure the mode is on REST when you insert and eject - or you’ll be awarded however long your card was out of the device between shifts as “Drive Through” WHEN the device reports a “Card Not Closed” error.
No, not that kind of Drive-Through!