TEIID-2302 fix for module based socket connections