Handle network unreachable error in pingmon.