What if "query node" or the "gateway query node" fail in cluster having n nodes?

@dadoonet So, is there any way to make client aware about node status in elastic cluster without using load balancer. I don't want to made this thing happen from web application to switch the other node if one goes down to get the data.