Fixed issue #257 - Reset client sync on error

Closes #257
remove