ensuring that smartcard is detected as released