send ping every 30 seconds to keep websockets alive