TRQ-2919 Deadlock when running 'qdel -p' as non-root user

Added unlock for permission failure case in forced_jobpurge.