socket forwarder more robust