retry index search on socket error