Added host-is-up detection.