Add analytics tracking on timeouts