Restart haproxy only if it is down over three cycles

haproxy is down for a very short period when an instance joins, and we dont want to restart then

fixes easybib/issues#2260