Disconnect on SyncError

Close #662
Merge pull request #712 from remotestorage/bug/662-502_not_handled_correctly

Disconnect on SyncError