Fixes refresh(). Should not include type
Dont use port 9300 to test if ES cluster is down