This really holds the last state that was acknowledged, not the last state that was sent.
This really holds the last state that was acknowledged, not the last state that was sent.

Also there is no need to clear the value on error.  Merely not updating it is sufficient to trigger the send logic on the next iteration.

mbrukman/flocker,mbrukman/flocker,mbrukman/flocker