Periodically ping a url to keep the server alive.