decrease host timeout, add more ping tries and make them configurable