crofconn/ciosrv => make ciosrv::stop() thread-id aware