Trying to fix gpg plugin hanging