fix facet gen hanging on socket bug