Add ticker to serialize the map to disk at regular intervals.