fire a virtual service deactivation event for the last session of the connector
close socket more gently (from MSDN)