check to make sure you are leader when you receive an append entries response