Return if ping fails or not.