Two-phase shutdown for rrdcached ensures that values are flushed.