Refactor delete in remote synchronizer