fix AgentDaemon bugs
fix SubgraphSet::readn for caching remote data