raise error when remote is corrupted and do less work when nothing needs to be done