make stat_publisher a daemon