imroved ConnectionSemaphore caching for jndi names