OpenSC segfaults in _Block_release() on exit/cleanup