Distributed gossiping protocol for failure detection