Implement ping command
Preferences for ping
Sleep before ping, not after
Don't send ping if we've received data recently
Interrupt pageWriter on disconnect