fixing corecrash on exit when non-authed clients were connected