Refactored PingServer tasks