make ping/uptime time.Duration