leader sends and receives keepalive