add initialize property to TermFactory to make initialization for real threadsafe