[#110] Stop sync process upon invalid response

* Report any error through the remote stack trace mechanism.
* If the data is invalid, stop the sync