Implement ping command
Preferences for ping
Sleep before ping, not after