XIA/U4ID: destroy local properly if socket fails