CR-1022 INT-2559 : fix cache managers leaks

git-svn-id: http://svn.terracotta.org/svn/ehcache@7973 b9324663-ca0f-0410-8574-be9b3887307d