A member should be closed to release acquired resources used to monitor the group membership.
When the member is closed, any memberships registered via this Group will be removed from the group.
Update the state of this group member. If the state is null, the member will leave the group.
This method can be called even if the group is not started, in which case the state will be stored and updated
when the group becomes started.
Gets the last state.
This can be used by clients to access that last state, such as when the clients is being added as a
listener but wants to retrieve the last state to be up to date when the client is
added.