Added useful exit code. Even the one of pinged hosts is not available it return 1, else return 0