Avoid hanging. Try to add inside ClosureTypeSorter the types the ValueType and String