Cleaning up sync operations