executes the specified Goal when Term changes. tipc_paxos_on_change/2
listens for paxos_changed/1 notifications
for Term, which are emitted as the result of successful tipc_paxos_set/1
transactions. When one is received for Term, then Goal
is executed in a separate thread of execution.