MP1-4155: correctly implemented timeout in decryption