One change, when the status stream ends an ongoing decrypt_state, still read the stdout data as valid decrypted data, otherwise the real output could be truncated. Related to #3