Revert "remove synchronized methods in favour of ConcurrentHashMap using"

This reverts commit 8909b2ffa4402aa23c64a7d81457b592b4fcb0fa.
Remove synchronized only from lookup method