WFLY-1697 temporary workaround for JPA memory leak of validator factory but not bean manager proxy (also HashMap clean up from previous pr)