Making the activeConnections to be ConcurrentHashMap. This is to ensure thread
safety when being used in a multi-thread environment.

We have seen cases where clients raise exceptions when calling returnInstance()
method, which might be related to this unsafety.

Change-Id: I69849d549f078f0028fd804fa501327248c07673