ZOOKEEPER-4549: ProviderRegistry may be repeatedly initialized
We run two ZooKeeperServerEmbedded in one JVM and find that ProviderRegistry was initialized repeatedly.
Author: lanicc <lanettiesso@gmail.com>
Reviewers: Enrico Olivelli <eolivelli@apache.org>, tison <wander4096@gmail.com>, maoling <maoling@apache.org>
Closes #1888 from lanicc/ZOOKEEPER-4549