Synchronize to prevent concurrent modification