ws: Disconnect cleanly from session transport when web service goes away

Previously we would get handlers getting called after the CockpitWebService
instance had been destroyed.