Make creating private ID a synchronous operation to avoid race conditions