Remove unreachable hosts from hostlist.