handle upstream reporting failures by buffering to disk
flush any pending reports to disk on shutdown