Fixed issue #257 - Reset client sync on error