fixed daemonization for aggregator -- needs more testing