Saving state to later recover in the bigGraph function