Cleaning up Snapshot code. Also running afterAction if rebuildServingGraph fails.