Updated to not dead-lock when prompting for PIN during a signing operation