Encryption process hangs at 99 %