Persist serialized data holding the current retry counter and other stuff which was getting lost