Added handling for getting out of sync with the server