implemented pause/resume of agreement processes + pubSub