Sync Lock to prevent multiple ManagedProxyIdentifier generations due to race conditions