make election algorithm more robust, which can handle the case a node get disconnected due to network fails, and then reconnects