BUG-5280: handle NotLeaderException