Added a cache to tranbsaction manager lookup to alleiviate locking issues when we have more than one transaction manager present in application.