merge livelock fix from gpgme kdpipeiodevice copy
svn path=/trunk/KDE/kdepim/kleopatra/; revision=783294