Sync connections when writing to them