changed it to ping every 20 seconds