Workaround for JRE bug throwing PCSCException