Unpersist properly in Pregel