Make post saving thread-safe

Post saving in the state watch is now backed by an agent and therefore
thread-safe.