fix InvalidGeneration while processing received sync stream

this fixes a bug in which the documents that are not symmetrically
encrypted were getting inserted into local db before the decryption of
the pending symmetrically-encrypted docuemnts had finished (thus causing
an out-of-order error that was raising an InvalidGeneration)
re-raise any exception, let it be catched by the caller