sync-engine-shared - Add exception and default handling to server disconnect