Converted TimeService to PingService